#ifndef CPROFILEFACTORY_H
#define CPROFILEFACTORY_H

#include <QHash>
#include <QObject>
#include <QStringList>

#include "cauthinfo.h"

class QThread;

class CProfile;
class IProfile;

class CProfileFactory : public QObject
{
    Q_OBJECT
public:
    explicit CProfileFactory(QObject *parent = 0);

    static QStringList networks();
    static CProfile * getProfile(const CAuthInfo &authInfo);

    static CProfile * createInstanceRemote(IProfile * iprofile, const CAuthInfo &authInfo, QThread * thread);
};

#endif // CPROFILEFACTORY_H
